/*
** wpos.c
**
** Pictor, Version 1.51, Copyright (c) 1992-94 SoftCircuits
** Redistributed by permission.
*/

#include <stdio.h>
#include "pictor.h"


/*
** Returns the current column of the active window pane.
*/
int getwcol(void)
{
	if(_PL_winhead != NULL)
		return(_PL_winhead->panes[_PL_winhead->currpane].column + 1);
	return(1);

} /* getwcol */

/*
** Returns the current row of the active window pane.
*/
int getwrow(void)
{
	if(_PL_winhead != NULL)
		return(_PL_winhead->panes[_PL_winhead->currpane].row + 1);
	return(1);

} /* getwrow */
